package com.kpmg.datalake.common.model;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 字典信息明细表
 * </p>
 *
 * @author azhao6
 * @since 2018-08-16
 */
@TableName("DICT_DATA")
public class ComDict implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 主键
   */
  @TableId(type = IdType.UUID)
  private String dictId;
  /**
   * 字典类型, 映射字段
   */
  private String dictType;
  /**
   * 字典编码
   */
  private String dictCode;
  /**
   * 字典名称
   */
  private String dictName;
  /**
   * 该列对应的映射字段编码
   */
  private String fldCd;
  /**
   * 父级编码
   */
  private String parentCode;
  /**
   * 字典排序
   */
  private Integer dictOrder;
  /**
   * 是否有效
   */
  private Double delInd;
  /**
   * 创建人
   */
  private String crtUsrId;
  /**
   * 创建时间
   */
  private Date crtDt;
  /**
   * 更新人
   */
  private String udtUsrId;
  /**
   * 更新时间
   */
  private Date udtDt;


  public String getDictId() {
    return dictId;
  }

  public void setDictId(String dictId) {
    this.dictId = dictId;
  }

  public String getDictType() {
    return dictType;
  }

  public void setDictType(String dictType) {
    this.dictType = dictType;
  }

  public String getDictCode() {
    return dictCode;
  }

  public void setDictCode(String dictCode) {
    this.dictCode = dictCode;
  }

  public String getDictName() {
    return dictName;
  }

  public void setDictName(String dictName) {
    this.dictName = dictName;
  }

  public String getFldCd() {
    return fldCd;
  }

  public void setFldCd(String fldCd) {
    this.fldCd = fldCd;
  }

  public String getParentCode() {
    return parentCode;
  }

  public void setParentCode(String parentCode) {
    this.parentCode = parentCode;
  }

  public Integer getDictOrder() {
    return dictOrder;
  }

  public void setDictOrder(Integer dictOrder) {
    this.dictOrder = dictOrder;
  }

  public Double getDelInd() {
    return delInd;
  }

  public void setDelInd(Double delInd) {
    this.delInd = delInd;
  }

  public String getCrtUsrId() {
    return crtUsrId;
  }

  public void setCrtUsrId(String crtUsrId) {
    this.crtUsrId = crtUsrId;
  }

  public Date getCrtDt() {
    return crtDt;
  }

  public void setCrtDt(Date crtDt) {
    this.crtDt = crtDt;
  }

  public String getUdtUsrId() {
    return udtUsrId;
  }

  public void setUdtUsrId(String udtUsrId) {
    this.udtUsrId = udtUsrId;
  }

  public Date getUdtDt() {
    return udtDt;
  }

  public void setUdtDt(Date udtDt) {
    this.udtDt = udtDt;
  }

  @Override
  public String toString() {
    return getClass().getName() + JSONObject.toJSONString(this);
  }
}
